package dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import pojo.Check;

import java.util.Date;
import java.util.List;

@Repository("checkDao")
@Mapper
public interface CheckDao {
	public int addCheck(int checkid,int courseid,String checktime);
	public int nextPrimaryKey();
	public Check selectCheckById(int checkid);
	public List<Check> selectCheckByCourseid(@Param("courseid")int courseid);
}
